package game.module.equipment.dao;

import game.module.equipment.bean.EquipmentStrengthen;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Component;

@Component
public class EquipmentStrengthCache {

	private Map<String, EquipmentStrengthen> cacheEquipmentStrengthenMap = new HashMap<String, EquipmentStrengthen>();
	
	public EquipmentStrengthen getEuipmentStrengthen(int goodModelid, int grade) {
		EquipmentStrengthen euipmentStrengthen = cacheEquipmentStrengthenMap.get(goodModelid + "_" + grade);
		return euipmentStrengthen;
	}
	
}
